package com.authsphere.plugin.api;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/25 11:08
 **/
public interface AuthSphereBeforePlugin extends AuthSpherePlugin<AuthSphereBeforePluginChain> {

    /**
     * plugin is executed
     *
     * @param exchange WebExchange
     * @return default false
     */
    default boolean skip(WebExchange exchange) {
        return false;
    }

    default String name() {
        return "";
    }
}
